package com.healthshare.busi.share;

import com.healthshare.parse.share.ShareListParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;
/**
 * @author xudeliang
 * 分享查询
 */
public class ShareSearchBusi extends BaseBusi
{

	//分享查询/search/search?channeltype=0& starttime=9889988
	public  String  tail = "search/search.php?";
	
	//0表示健康、养生动态分享列表，1表示曝光台列表，2表示健康问答列表（健康问答只有用户公开的才能显示）
	
	public String channeltype = "";
	public String starttime = "";
	public String size = "20";
	public String searchConten="";
	public ShareSearchBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail+"channeltype="+channeltype+"&starttime="+starttime+"&size"+size;
		buffer = ("search="+searchConten).getBytes();
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		ShareListParse	ls = new ShareListParse();
		ls.Parse(data);
		return ls;
	}
	
	
	
}
